/*******************************************************************************
 * Copyright (c) 2011-11-10 @author <a href="mailto:iffiff1@hotmail.com">Tyler Chen</a>.
 * All rights reserved.
 *
 * Contributors:
 *     <a href="mailto:iffiff1@hotmail.com">Tyler Chen</a> - initial API and implementation
 ******************************************************************************/
package com.redhat.auth.ejb.vo;

import java.io.Serializable;

import org.apache.commons.lang.builder.ToStringBuilder;

/**
 * @author <a href="mailto:iffiff1@hotmail.com">Tyler Chen</a> 
 * @since 2011-11-10
 */
public class BizSystemBindingVO implements Serializable {

	private static final long serialVersionUID = -8554564863993569154L;
	public static final int STATUS_DISABLED = 0;
	public static final int STATUS_ENABLED = 1;

	private BizSystemVO bizSystem;
	private int status;

	public BizSystemBindingVO() {
		super();
	}

	public BizSystemBindingVO(BizSystemVO bizSystem, int status) {
		this();
		this.bizSystem = bizSystem;
		this.status = status;
	}

	public BizSystemVO getBizSystem() {
		return bizSystem;
	}

	public void setBizSystem(BizSystemVO bizSystem) {
		this.bizSystem = bizSystem;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}
